std::clock
From Cppreference
| Defined in header
<ctime> | ||
| clock_t clock( void );
| ||
Returns raw processor clock time since the program is started. To convert result value to seconds divide it by CLOCKS_PER_SEC.
Contents |
Parameters
(none)
Return value
raw processor clock time since the program has started or 1 if that information is unavailable.
Example
| This section is incomplete |
See also
| converts a tm object to a textual representation (function) | |
| returns the current time of the system as time since epoch (function) | |